home *** CD-ROM | disk | FTP | other *** search
/ Experimental BBS Explossion 3 / Experimental BBS Explossion III.iso / others / soscal1.zip / INSTALL.BAT < prev    next >
DOS Batch File  |  1993-05-11  |  3KB  |  100 lines

  1. ECHO OFF
  2. CLS
  3. IF %1a == a: goto WHATDRIVE
  4. IF %1b == b: goto WHATDRIVE
  5. IF %1 == c: goto START
  6. IF %1 == C: goto START
  7. IF %1 == d: goto START
  8. IF %1 == D: goto START
  9. IF %1 == e: goto START
  10. IF %1 == E: goto START
  11. IF %1 == f: goto START
  12. IF %1 == F: goto START 
  13. GOTO NODRIVE
  14. :START
  15. echo ╔═══════════════════════════════════════════════════════════════════════╗
  16. echo ║                                                                       ║
  17. echo ║            DIGITAL TOURS CALENDAR   Hard Disk Installation            ║
  18. echo ║                                                                       ║
  19. echo ║   This will create a directory called %1\SOSCAL  on your hard disk,   ║
  20. echo ║   and will install DIGITAL TOURS CALENDAR   and its files in that     ║
  21. echo ║   directory.                                                          ║
  22. echo ║                                                                       ║
  23. echo ║   If you don't want THE DIGITAL TOURS CALENDAR installed at this      ║
  24. echo ║   time, press Ctrl + C.                                               ║
  25. echo ║                                                                       ║
  26. echo ╚═══════════════════════════════════════════════════════════════════════╝
  27. echo 
  28. pause
  29. cls
  30. echo Making directory %1\SOSCAL . . .
  31. IF exist %1\SOSCAL\*.* goto EXISTS
  32. MD %1\SOSCAL
  33. :CHECKIT
  34. IF exist DRIVER.EXE goto CONTINUE
  35. echo 
  36. echo Place the disk containing THE DIGITAL TOUR CALENDAR and its files in 
  37. echo active drive.
  38. echo 
  39. pause
  40. goto CHECKIT
  41. :CONTINUE
  42. echo 
  43. echo Copying THE DIGITAL TOUR CALENDAR and its files . . .
  44. copy *.* %1\SOSCAL
  45. IF not exist %1\SOSCAL\DRIVER.EXE goto INSTALLERROR
  46. ECHO REMOVE DISK A AND PLACE DISK B IN THE ACTIVE DRIVE.
  47. PAUSE
  48. copy *.* %1\SOSCAL
  49. ECHO REMOVE DISK B AND PLACE DISK C IN THE ACTIVE DRIVE.
  50. PAUSE
  51. copy *.* %1\SOSCAL
  52. %1
  53. cd %1\SOSCAL
  54. ECHO %1 > DTCDRIVE.BAT
  55. DRIVER.EXE
  56. PICKDRVR %1\SOSCAL %1\SOSCAL
  57. echo 
  58. echo THE DIGITAL TOUR CALENDAR is installed on your hard disk.  To run it, 
  59. echo type DTCAL.
  60. ECHO 
  61. ECHO INSTALLATION COMPLETE.
  62. ECHO (C)1992, $AVE ON $OFTWARE
  63. ECHO Digital Tours is a trademark and a Division of $ave on $oftware.
  64. ECHO 
  65. ECHO ADD %1\SOSCAL\DTCAL.BAT TO YOUR AUTOEXEC.BAT FILE TO DISPLAY 
  66. ECHO THE CALENDAR AUTOMATICALLY WHEN YOU START YOUR COMPUTER.
  67. ECHO 
  68. ECHO ADD %1\SOSCAL TO YOUR PATH STATEMENT AND TYPE DTCAL AT THE 
  69. ECHO DOS PROMPT ANYTIME YOU WANT TO DISPLAY THE CALENDAR.
  70. echo 
  71. goto DONE
  72. :WHATDRIVE
  73. cls
  74. echo Installation Error:  To install THE DIGITAL TOUR CALENDAR on your hard 
  75. echo disk, you must include the drive as part of the install command.  For 
  76. echo example, to install THE DIGITAL TOUR CALENDAR on drive C, type INSTALL C: 
  77. echo and press ENTER.
  78. goto ERRORQUIT
  79. :NODRIVE
  80. cls
  81. echo Installation Error: The hard drive letter can be a letter from C to F,
  82. echo For example, INSTALL C: will install THE DIGITAL TOUR CALENDAR on drive 
  83. echo C.  You must include a colon after the drive letter.
  84. goto ERRORQUIT
  85. :INSTALLERROR
  86. cls
  87. echo Installation Error: Do you have enough space on your hard disk?
  88. echo Did you give the proper hard drive letter?
  89. goto ERRORQUIT
  90. :EXISTS
  91. cls
  92. echo Installation Error: THE SOSCAL Directory already exists on this drive.
  93. echo Delete this directory and all files in it, then try installing again.
  94. goto ERRORQUIT
  95. :ERRORQUIT
  96. echo 
  97. echo THE DIGITAL TOUR CALENDAR was not installed correctly.
  98. echo 
  99. :DONE
  100.